package com.ir;

import com.ast.*;

import java.util.List;

public class IR {
    List<Stmt> topStmts;
    List<Var> vars;
    List<FuncDefNode> funs;
    List<FloatIR> floats;

    public IR(List<FuncDefNode> funs, List<Var> vars, List<Stmt> topStmts, List<FloatIR> floats) {
        this.funs = funs;
        this.vars = vars;
        this.topStmts = topStmts;
        this.floats = floats;
    }

    public List<Var> getVars() {
        return vars;
    }

    public List<FuncDefNode> getFuns() {
        return funs;
    }

    public List<Stmt> getTopStmts() {
        return topStmts;
    }

    public List<FloatIR> getFloatIRs(){
        return floats;
    }
}
